#include <stdio.h>
#include <assert.h>

int my_strlen(const char*a)
{
	assert(a);
	char* p = a;
	int count = 0;
	while (*p)
	{
		count++;
		p++;
	}
	return count;
}


int main()
{
	char arr[10] = "daikjs";
	printf("%d \n", my_strlen(arr));
	return 0;
}